package com.xdb.sqlparser.ast.statement;

import java.util.ArrayList;
import java.util.List;

import com.xdb.sqlparser.ast.SQLExpr;
import com.xdb.sqlparser.ast.AbstractSQLStatementImpl;
import com.xdb.sqlparser.visitor.SQLAstVisitor;

public class SQLDropUserStatement extends AbstractSQLStatementImpl implements SQLDDLStatement {

	private List<SQLExpr> users = new ArrayList<SQLExpr>(2);

	public SQLDropUserStatement() {

	}

	public SQLDropUserStatement(String dbType) {
		super(dbType);
	}

	public List<SQLExpr> getUsers() {
		return users;
	}

	public void setUsers(List<SQLExpr> users) {
		this.users = users;
	}

	protected void accept0(SQLAstVisitor visitor) {
		if (visitor.visit(this)) {
			acceptChild(visitor, users);
		}
		visitor.endVisit(this);
	}
}
